﻿
    using System;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;

    public partial class Pay : UserControl
    {

        public string WebRoot;

        protected void Page_Load(object sender, EventArgs e)
        {
            this.WebRoot = ((PageBase) this.Page).GetWebRoot();
            if (!PubFunction.curParameter.bolIsPayCard)
            {
                this.trByCard.Style.Add("display", "none");
            }
            if (!PubFunction.curParameter.bolIsPayCash)
            {
                this.trByCash.Style.Add("display", "none");
            }
            if (!PubFunction.curParameter.bolIsPayBink)
            {
                this.trByBink.Style.Add("display", "none");
            }
            //if (!PubFunction.curParameter.bolIsPayCoupon)
            if(true)
            {
                this.trPayCoupon.Style.Add("display", "none");
            }
        }
    }


